package com.e3.basdoc.measure.service;

import java.util.List;

import com.e3.basdoc.measure.model.MeasureUnitModel;
import com.e3.core.base.ModelCacheManager;

public class MeasureUnitCacheManager extends ModelCacheManager<MeasureUnitModel>{
	
	public final static String MEASUREUNIT_CACHE = "MEASUREUNIT_CACHE";
	
	public static MeasureUnitCacheManager INSTANCE = new MeasureUnitCacheManager();
	
	public void put(MeasureUnitModel model){
		putModel(MEASUREUNIT_CACHE, model);
	}

	public MeasureUnitModel get(Long id) {
		return getModel(MEASUREUNIT_CACHE, id);
	}
	
	public void remove(List<Long> ids){
		removeModels(MEASUREUNIT_CACHE,ids);
	}

}
